namespace Stee.CAP8.MessageBus.Sagas.Core.Sagas.Storages.Nodes
{
    using System;
    using System.Collections.Generic;
    using System.Text;
    using Stee.CAP8.MessageBus.Sagas.Core.Sagas.Storages.Enums;

    public interface ISagaNodeStorage
    {
        void Insert(SagaNodeData sagaNodeData);
        List<SagaNodeData> FindBySagaId(string sagaId, SagaNodeState? sagaNodeStatus = null);
        SagaNodeData FindByRecordId(string recordId);
        SagaNodeData FindById(Guid id);

    }
}
